package com.amado.course05For;

public class For {
//	11. 请打印出前50项(1+2=3,3+5=8,5+8=13)
//    1 2 3 5 8 13 21 34 55 89 ........................
	public static void main(String[] args) {
		int a =0;
		for(int i=1;i<=100;i++){
			System.out.print(i+"\t");
			a=a+i;
			if (i%5==0){
			
				System.out.println(a+"\t");
				a = 0;
			}
		}
	}
}
